﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using Tong;
public partial class aspnet_testPargrameDir_site_Product : System.Web.UI.Page
{
    /// <summary>
    /// 用於顯示資料
    /// </summary>
    public Tong.TongUse TextData = new Tong.TongUse();

    /// <summary>
    /// 系统安装绝对路径
    /// </summary>
    public string Abs_Path = TongUse.SysPath;
    /// <summary>
    /// 用户存放数据的临时表
    /// </summary>
    DataTable MyDt = new DataTable();


    /// <summary>
    /// 站点通用方法类
    /// </summary>
    public Tong.ThisSiteUse.SiteTong TextThisSite = new Tong.ThisSiteUse.SiteTong();

    //得到传入的栏目ID
    public String CloumnID = "33";//  租赁类  
    protected void Page_Load(object sender, EventArgs e)
    {

        BindData();

    }

    /// <summary>
    ///邦定當前頁面的資料
    /// </summary>
    void BindData()
    {
        try
        {
            CloumnID = Request.QueryString["SendentID"].Trim();



            MyDt = TextThisSite.GetPointCloumnNews(CloumnID, 99999, "2");//调用
            ShowMac.DataSource = MyDt;
            ShowMac.DataBind();

        }
        catch
        {

        }

    }
}


